from django.contrib import admin
from django.urls import path,include
from . import views

urlpatterns = [
    path('classmate/',views.ClassMateGenericAPIView.as_view(),name='class-mate'),
    path('student/',views.StudentGenericAPIView.as_view(),name = 'student'),
    path('student/<int:pk>/',views.StudentPKGenericAPIView.as_view(),name='student-pk'),
    path('teacher/',views.TeacherGenericAPIView.as_view(),name='teacher'),
    path('classmatedetail/',views.ClassMateDetailGenericAPIView.as_view(),name='classmate-detail'),

]